package com.stronger.pettern.decorator.decorator3;

/**
 * Decorator装饰角色（一般为抽象类
 */
public abstract class SkillDecorator implements Hero{
    private Hero hero=null;

    public SkillDecorator(Hero hero){
        this.hero=hero;
    }
    @Override
    public void learnSkill() {
        hero.learnSkill();
    }
}
